package com.logistics.modules.transportationManagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.logistics.modules.financialManagement.entity.FreightEntity;
import com.logistics.modules.sys.entity.SystemcodetableEntity;
import lombok.Data;

/**
 * 
 * 
 * @author HURRICANE
 * @email HURRICANE@nb.com
 * @date 2022-05-14 10:48:35
 */
@Data
@TableName("moveplan")
@JsonIgnoreProperties(value = {"handler"})
public class MoveplanEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id 自增
	 */
	@TableId
	private Integer id;
	/**
	 * 客户订单的id
	 */
	private Integer clientorderId;
	/**
	 * 结算状态 0 未计算 1 已结算
	 */
	private Integer closeStatus;
	/**
	 * 计划状态: 0 未完成 1 已完成
	 */
	private Integer planStatus;
	/**
	 * 货物的状态 0: 已入库 1: 运输中 2: 已到达 3: 未取货 4: 已取货 5: 逾期
	 */
	private Integer cargoStatus;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 计划完成时间
	 */
	private Date finishTime;
	/**
	 * 运费表id
	 */
	private Integer frightId;
	/**
	 * 删除状态（0，正常，1已删除）
	 */
	private Integer delFlag;

	/**
	 * 客户订单
	 */
	@TableField(exist = false)
	private ClientorderEntity clientOrder;

	/**
	 * 运费
	 */
	@TableField(exist = false)
	private FreightEntity freight;

	/**
	 * 行动计划详细信息列表
	 */
	@TableField(exist = false)
	private List<MoveplandetailsEntity> movePlanDetailsList;

	/**
	 * 计算的状态
	 */
	@TableField(exist = false)
	private SystemcodetableEntity systemCodePlanMoney;

	/**
	 * 计划的状态
	 */
	@TableField(exist = false)
	private SystemcodetableEntity systemCodePlanStatus;

	/**
	 * 货物的状态
	 */
	@TableField(exist = false)
	private SystemcodetableEntity systemCodePlanCargoStatus;


}
